package main.models

import scala.util.Random

abstract class AbstractEntity(val id: Int = Random.nextInt(100000000))

abstract class AbstractLiving(livingName: String, age: Int) extends AbstractEntity

abstract class AbstractItem(itemName: String) extends AbstractEntity

abstract class AbstractPlace(placeName: String) extends AbstractEntity

final class World extends AbstractEntity